﻿namespace Lite.Messaging.Msmq
{
    using System.Messaging;

    internal class MsmqReceiveMessage
        : MsmqMessage, IReceiveMessage
    {
        internal MsmqReceiveMessage(Message message)
            : base(message)
        {
        }

        #region IReceiveMessage Members

        public object MessageId
        {
            get
            {
                return Message.Id;
            }
        }

        #endregion
    }
}
